public class OverLoad{
	public static void main(String[] args){
		//int sum = add(1,2);
		System.out.println(add(1,2,3));
		System.out.println(add(1,2));
	}
	static double add(int a, int b){
		return a+b;
	}
	static double add(double a, int b){
		return a+b;
	}
	static double add(int a ,double b){
		return a+b;
	}
	static double add(double a, double b){
		return a+b;
	}
	static double add(double a,double b,double c){
		return a+b+c;
	}
}